#ifndef IMGBASICPROCESSING
#define IMGBASICPROCESSING

#include <QImage>
#include <QRgb>

class ImgBasicProcessing
{
public:
    ImgBasicProcessing(QImage *m_Img1);

    QImage* toGray();//灰度图
    QImage* toChangeBrightness(int delta);//亮度
    QImage* toWarmColor(int delta);//暖色
    QImage* toColdColor(int delta);//冷色
    QImage* toChangeSaturation(int delta);//饱和度
    QImage* toSharpen();//锐化

private:
    QImage *m_Img;
};

#endif // IMGPROCESSING_H
